package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_qixi_receive", autoSave = true, dataUpload = true, eventName = "year_get",uploadCk = true,desc = "新春冲榜/七夕-收花记录")
public class LogQixiReceiveFlower extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "送花玩家ID", dataAttribute = "year_getuserid")
    private long sendUserId;
    @FieldTypeAnnotation(desc = "花id", dataAttribute = "year_getid")
    private int flowerId;
    @FieldTypeAnnotation(desc = "花数")
    private int flowerNum;
    @FieldTypeAnnotation(desc = "增加人气值", dataAttribute = "year_getnum")
    private int scoreAdd;

    public LogQixiReceiveFlower(int activityId, long userId, long sendUserId, int flowerId, int flowerNum, int scoreAdd) {
        this.activityId = activityId;
        this.userId = userId;
        this.sendUserId = sendUserId;
        this.flowerId = flowerId;
        this.flowerNum = flowerNum;
        this.scoreAdd = scoreAdd;
    }

    public long getSendUserId() {
        return sendUserId;
    }

    public void setSendUserId(long sendUserId) {
        this.sendUserId = sendUserId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getFlowerId() {
        return flowerId;
    }

    public void setFlowerId(int flowerId) {
        this.flowerId = flowerId;
    }

    public int getFlowerNum() {
        return flowerNum;
    }

    public void setFlowerNum(int flowerNum) {
        this.flowerNum = flowerNum;
    }

    public int getScoreAdd() {
        return scoreAdd;
    }

    public void setScoreAdd(int scoreAdd) {
        this.scoreAdd = scoreAdd;
    }

}
